package com.dimples.dd.system.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.dimples.dd.mybatis.core.dataobject.BaseDO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 字典数据表
 */
@Schema(description="字典数据表")
@Data
@EqualsAndHashCode(callSuper=true)
@TableName(value = "system_dict_data")
public class SystemDictDataDO extends BaseDO {
    /**
     * 字典编码
     */
    @TableId(value = "id", type = IdType.INPUT)
    @Schema(description="字典编码")
    private Long id;

    /**
     * 字典排序
     */
    @TableField(value = "sort")
    @Schema(description="字典排序")
    private Integer sort;

    /**
     * 字典标签
     */
    @TableField(value = "`label`")
    @Schema(description="字典标签")
    private String label;

    /**
     * 字典键值
     */
    @TableField(value = "`value`")
    @Schema(description="字典键值")
    private String value;

    /**
     * 字典类型
     */
    @TableField(value = "dict_type")
    @Schema(description="字典类型")
    private String dictType;

    /**
     * 状态（0正常 1停用）
     */
    @TableField(value = "`status`")
    @Schema(description="状态（0正常 1停用）")
    private Byte status;

    /**
     * 颜色类型
     */
    @TableField(value = "color_type")
    @Schema(description="颜色类型")
    private String colorType;

    /**
     * css 样式
     */
    @TableField(value = "css_class")
    @Schema(description="css 样式")
    private String cssClass;

    /**
     * 备注
     */
    @TableField(value = "remark")
    @Schema(description="备注")
    private String remark;
}